package com.example.springcloudfeignprovider02.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author X.I.O
 * @title: RibbonController
 * @projectName spring-cloud-1
 * @description: TODO
 * @date 2021/11/7 14:21
 */
@Api("ribbon调用")
@RestController
@RequestMapping("/test")
public class RibbonController {

    @GetMapping("/provider")
    public String getProvicer_1Controller(){
        return "我是服务调用者2";
    }
}
